package com.codeoss.framework.dto;

public class DevModelColumnDTO extends CommonDTO {
	private String columnName;
	private String name;
	private String dataType;
	private String sqlType;
	private Integer length;
	private Integer precision;
	private boolean notNull;
	private boolean primaryKey;
	private boolean unique;
	private String defaultValueExpression;
	private String dict;
	private String refTable;
	private String valueColumn;
	private String displayColumn;
	private String whereClause;
	private String dynamicWhereClause;
    private boolean parentColumn;
    private String requiredExpression;
	private String readOnlyExpression;
	
	private boolean codeColumn;
	private boolean nameColumn;
	private boolean exportColumn;
	
	public String getColumnName() {
		return columnName;
	}

	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDataType() {
		return dataType;
	}

	public void setDataType(String dataType) {
		this.dataType = dataType;
	}

	public String getSqlType() {
		return sqlType;
	}

	public void setSqlType(String sqlType) {
		this.sqlType = sqlType;
	}

	public Integer getLength() {
		return length;
	}

	public void setLength(Integer length) {
		this.length = length;
	}

	public Integer getPrecision() {
		return precision;
	}

	public void setPrecision(Integer precision) {
		this.precision = precision;
	}

	public boolean isNotNull() {
		return notNull;
	}

	public void setNotNull(boolean notNull) {
		this.notNull = notNull;
	}

	public boolean isPrimaryKey() {
		return primaryKey;
	}

	public void setPrimaryKey(boolean primaryKey) {
		this.primaryKey = primaryKey;
	}

	public boolean isUnique() {
		return unique;
	}

	public void setUnique(boolean unique) {
		this.unique = unique;
	}

	public String getDefaultValueExpression() {
		return defaultValueExpression;
	}

	public void setDefaultValueExpression(String defaultValueExpression) {
		this.defaultValueExpression = defaultValueExpression;
	}

	public String getDict() {
		return dict;
	}

	public void setDict(String dict) {
		this.dict = dict;
	}

	public String getRefTable() {
		return refTable;
	}

	public void setRefTable(String refTable) {
		this.refTable = refTable;
	}


	public String getValueColumn() {
		return valueColumn;
	}

	public void setValueColumn(String valueColumn) {
		this.valueColumn = valueColumn;
	}

	public String getDisplayColumn() {
		return displayColumn;
	}

	public void setDisplayColumn(String displayColumn) {
		this.displayColumn = displayColumn;
	}

	public String getWhereClause() {
		return whereClause;
	}

	public void setWhereClause(String whereClause) {
		this.whereClause = whereClause;
	}

	public String getDynamicWhereClause() {
		return dynamicWhereClause;
	}

	public void setDynamicWhereClause(String dynamicWhereClause) {
		this.dynamicWhereClause = dynamicWhereClause;
	}

	public boolean isParentColumn() {
		return parentColumn;
	}

	public void setParentColumn(boolean parentColumn) {
		this.parentColumn = parentColumn;
	}

	public String getRequiredExpression() {
		return requiredExpression;
	}

	public void setRequiredExpression(String requiredExpression) {
		this.requiredExpression = requiredExpression;
	}

	public String getReadOnlyExpression() {
		return readOnlyExpression;
	}

	public void setReadOnlyExpression(String readOnlyExpression) {
		this.readOnlyExpression = readOnlyExpression;
	}

	public boolean isCodeColumn() {
		return codeColumn;
	}

	public void setCodeColumn(boolean codeColumn) {
		this.codeColumn = codeColumn;
	}

	public boolean isNameColumn() {
		return nameColumn;
	}

	public void setNameColumn(boolean nameColumn) {
		this.nameColumn = nameColumn;
	}

	public boolean isExportColumn() {
		return exportColumn;
	}

	public void setExportColumn(boolean exportColumn) {
		this.exportColumn = exportColumn;
	}
}
